Skip to content

Generated TypeScript schema imports Sync Stream types as type-only - #720

Merged
benitav merged 3 commits into
mainfrom
autopilot/46e4528a
Oct 26, 2026
Merged

benitav merged 3 commits into
mainfrom
autopilot/46e4528a

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Release: Version Packages #827 (PowerSync Service 1.27.1).

Source: fix(sync-rules): emit type-only imports for SyncStream in TS schema, which marks PowerSyncDatabase and SyncStream as type imports in generated TypeScript schemas so verbatimModuleSyntax and strict bundlers accept the output.

Found in release review.

Released in PowerSync Service 1.27.1 (@powersync/service-sync-rules 0.44.0).

  • Sync Streams client usage, "The Generated Code" sample: the import line now reads import { column, Schema, Table, type PowerSyncDatabase, type SyncStream } from '@powersync/web';, matching the TypeScript schema generator's import clause at the release commit. JavaScript output keeps plain imports, and the sample is TypeScript.

TODO

  • release updated schema generator in dashboard and CLI

@mintlify
mintlify Bot requested a review from benitav October 22, 2026 13:12
@mintlify

mintlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
powersync 🟢 Ready View Preview Oct 26, 2026, 4:24 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@benitav
benitav merged commit e3b2390 into main Oct 26, 2026
5 checks passed
@benitav
benitav deleted the autopilot/46e4528a branch October 26, 2026 16:25

This branch was successfully deployed

1 active deployment
staging — ca797cc6 Deployed Oct 26, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant